const express = require("express");
const app = express();

app.use(function (req, res, next) {
  console.log(6666666666);
  req.name = "全局中间件";
  next();
});
app.get("/zks", function (req, res) {
  res.status(200).json({ message: "dad" + req.name });
});
app.listen(9455);
